import unittest


class TestDemo(unittest.TestCase):
    @classmethod
    def setUpClass(cls) -> None:  # 比如:前大夹子可以输入浏览器和网址-->前小夹子可以清空搜索框-->后小夹子可以点击-->后大夹子可以设置退出浏览器
        print('前大夹子')

    def setUp(self) -> None:
        print('前小夹子')

    def tearDown(self) -> None:
        print('后小夹子')

    def test1(self):
        print('test1')

    def test2(self):
        print('test2')

    def test3(self):
        print('test3')

    @classmethod
    def tearDownClass(cls) -> None:
        print('后大夹子')


if __name__ == '__main__':
    unittest.main(verbosity=2)
